rem Update CATALINA_HOME to a valid Tomcat directory

if "%JAVA_HOME%" == "" set JAVA_HOME=D:\programs\jdk1.5.0_07

if "%CATALINA_HOME%" == "" set CATALINA_HOME=D:\programs\apache-tomcat-5.5.17

set CATALINA_BASE=%~dp0.

rem MUST install Agent Controller before using this command, see for more information
rem http://www.eclipse.org/tptp/home/downloads/installguide/agentcontroller_42/win_ia32/getting_started.html#Start_Agent_Controller

set JAVA_OPTS=-XrunpiAgent:server=enabled
call %CATALINA_HOME%\bin\catalina start
set JAVA_OPTS=